package ru.nsu.expertsystem.chucknorris;

public class ConsoleLogger implements Logger {

	@Override
	public void error(String message) {
		System.err.println(message);
	}

	@Override
	public void worning(String message) {
		System.err.println(message);
	}

	@Override
	public void information(String message) {
		System.err.println(message);
	}

	@Override
	public void error(String message, Throwable cause) {
		System.err.println(message);
		cause.printStackTrace(System.err);
	}

	@Override
	public void worning(String message, Throwable cause) {
		System.err.println(message);
		cause.printStackTrace(System.err);
	}

	@Override
	public void information(String message, Throwable cause) {
		System.err.println(message);
		cause.printStackTrace(System.err);
	}

}
